package com.zhongwang.mms.module.basic.service;

import com.zhongwang.mms.module.basic.dao.DictCommonDao;
import com.zhongwang.mms.module.basic.model.DictCommon;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Log4j2
public class DictCommonService {
    @Autowired
    private DictCommonDao dictCommonDao;

    public List<DictCommon> findDictByGroupName(String groupPost) {
        return dictCommonDao.findDictByGroupName(groupPost);
    }
}
